#include "Handlers.h"
#include "XMLTree.h"
#include "Bundles.h"
#include "Nodes.h"
#include "PeerListener.h"
#include "Policy.h"


#include <string>

using namespace std;

Handlers::Handlers()
{
	// Create instances of the classes that manage links, bundles, nodes
	// and routes.
	links = new Links(this);
	bundles = new Bundles(this);
	nodes = new Nodes(this);
	routes = new Routes(this);
	peerListener = new PeerListener(this);
}


void Handlers::initialized()
{
}

// The class that extends this abstract class implements the handlers
// that it supports. Unsupported events silently fall into these no-op
// handlers.
void Handlers::handler_bpa_root(XMLTree *bpa)
{
}

void Handlers::handler_bundle_received_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_data_transmitted_event(XMLTree *event, XMLTree *bpa) 
{
}

void Handlers::handler_bundle_delivered_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_bundle_delivery_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_bundle_send_cancelled_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_bundle_expired_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_bundle_injected_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_link_opened_event(XMLTree *event, XMLTree *bpa)
{
}

void Handlers::handler_link_closed_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_link_created_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_link_deleted_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_link_available_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_link_unavailable_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_link_attribute_changed_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_contact_attribute_changed_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_link_busy_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_eid_reachable_event(XMLTree *event, XMLTree *bpa) {}

void Handlers::handler_route_add_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_route_delete_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_custody_signal_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_custody_timeout_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_intentional_name_resolved_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_registration_added_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_registration_removed_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_registration_expired_event(XMLTree *event, XMLTree *bpa) 
{}

void Handlers::handler_bundle_report_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::Handlers::handler_link_report_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_link_attributes_report_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::handler_route_report_event(XMLTree *event, XMLTree *bpa)  {}

void Handlers::handler_contact_report_event(XMLTree *event, XMLTree *bpa)
{}

void Handlers::Handlers::handler_bundle_attributes_report_event(XMLTree *event, XMLTree *bpa)
{}

	